/*******************************************************************************
 * Copyright (c) 2006 CEA List.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 *
 * Contributors:
 *     CEA List - initial API and implementation
 *******************************************************************************/
package com.cea.papyrus.tabbedproperties.section;

import org.eclipse.uml2.uml.Extend;

/**
 * Defines a selection filter on extends.
 * 
 * @author Gilles Cannenterre
 * @since 14 nov. 06
 */
public class ExtendConditionSectionFilter extends UMLElementFilter {

    /**
     * Select.
     * 
     * @param object the object
     * 
     * @return true, if select
     */
    @Override
	public boolean select(Object object) {
    	if ((super.select(object))&&(element instanceof Extend)) {
    		return true;
    	}  	
    	return false;
    }
}